package com.neusoft.service;

import com.neusoft.dto.ArticleQueryCondition;
import com.neusoft.dto.ArticleReq;
import com.neusoft.vo.Article;
import com.neusoft.vo.MultiArticles;
import com.neusoft.vo.SingleArticle;

import java.util.List;

public interface IArticleService {
    SingleArticle createArticle(ArticleReq articleReq);
    SingleArticle getArticle(String slug);
    SingleArticle updateArticle(String slug, ArticleReq articleReq);
    MultiArticles getMultiArticles(ArticleQueryCondition articleQueryCondition);
    SingleArticle favoriteArticle(String slug);
    SingleArticle unFavoriteArticle(String slug);
    MultiArticles getMultiArticlesFeed(ArticleQueryCondition articleQueryCondition);
}
